package ch02;
import java.util.Scanner;
/**
 * Created by hasee on 2017/6/15.
 */
public class Average {
    public static void main(String[] args) {
        int a,b,c,d;
        Scanner scan = new Scanner(System.in);
        System.out.println("输入三个数字：");
        System.out.println("a=:");
        a = scan.nextInt();
        System.out.println("b=:");
        b = scan.nextInt();
        System.out.println("c=:");
        c = scan.nextInt();
        d = (a+b+c)/3;
        System.out.println("您输入三个数字的平均值为："+d);



    }
}
